package com.utcs.modules.resource.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by Fly on 2017/5/24.
 */
@Controller
public class ResourceController {

    @RequestMapping("/resource/index")
    public ModelAndView index(String parentId){
        ModelAndView mv = new ModelAndView("modules/resource/resourceIndex");
        //   mv.addObject("UserUtils", new UserUtils());
        mv.addObject("parentId", parentId);
        return mv;
    }
}
